package org.example;

import org.example.config.ConsumerLoadBalancerConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Auther:Liu
 * @Testname:${NAME}
 * @Date:2025/9/9 10:49
 *///TIP 要<b>运行</b>代码，请按 <shortcut actionId="Run"/> 或
// 点击装订区域中的 <icon src="AllIcons.Actions.Execute"/> 图标。
@LoadBalancerClients(defaultConfiguration = ConsumerLoadBalancerConfiguration.class)
@EnableCaching
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("org.example.mapper")
public class cloudExampleMaxStudentApplication {
    public static void main(String[] args) {
        SpringApplication.run(cloudExampleMaxStudentApplication.class, args);
    }
}